package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MallOrderLogistics;

import java.util.*;
public class MallOrderLogisticsExample extends SgExample<MallOrderLogisticsExample.Criteria> {
    public static final Class<MallOrderLogistics> beanClass = MallOrderLogistics.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn postCompany;
    public static EntityColumn logisticsId;
    public static EntityColumn addressDetail;
    public static EntityColumn provName;
    public static EntityColumn receiveName;
    public static EntityColumn cityName;
    public static EntityColumn areaName;
    public static EntityColumn tradeCode;
    public static EntityColumn postCode;
    public static EntityColumn buyerId;
    public static EntityColumn receiveTelephone;
    public static EntityColumn tid;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        postCompany = listMap.get("postCompany");
        logisticsId = listMap.get("logisticsId");
        addressDetail = listMap.get("addressDetail");
        provName = listMap.get("provName");
        receiveName = listMap.get("receiveName");
        cityName = listMap.get("cityName");
        areaName = listMap.get("areaName");
        tradeCode = listMap.get("tradeCode");
        postCode = listMap.get("postCode");
        buyerId = listMap.get("buyerId");
        receiveTelephone = listMap.get("receiveTelephone");
        tid = listMap.get("tid");
        }

    public MallOrderLogisticsExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MallOrderLogisticsExample.Criteria createCriteriaInternal() {
        return new MallOrderLogisticsExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyIsNull() {
            return isNull(postCompany);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyIsNotNull() {
            return isNotNull(postCompany);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyEqualTo(String value) {
            return equalTo(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyNotEqualTo(String value) {
            return notEqualTo(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyGreaterThan(String value) {
            return greaterThan(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyLessThan(String value) {
            return lessThan(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyLike(String value) {
            return like(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyNotLike(String value) {
            return notLike(postCompany, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyIn(List<String> values) {
            return in(postCompany, values);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyNotIn(List<String> values) {
            return notIn(postCompany, values);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyBetween(String value1, String value2) {
            return between(postCompany, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andPostCompanyNotBetween(String value1, String value2) {
            return notBetween(postCompany, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andLogisticsIdIsNull() {
            return isNull(logisticsId);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdIsNotNull() {
            return isNotNull(logisticsId);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdEqualTo(Long value) {
            return equalTo(logisticsId, value);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdNotEqualTo(Long value) {
            return notEqualTo(logisticsId, value);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdGreaterThan(Long value) {
            return greaterThan(logisticsId, value);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(logisticsId, value);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdLessThan(Long value) {
            return lessThan(logisticsId, value);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(logisticsId, value);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdIn(List<Long> values) {
            return in(logisticsId, values);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdNotIn(List<Long> values) {
            return notIn(logisticsId, values);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdBetween(Long value1, Long value2) {
            return between(logisticsId, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andLogisticsIdNotBetween(Long value1, Long value2) {
            return notBetween(logisticsId, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andAddressDetailIsNull() {
            return isNull(addressDetail);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailIsNotNull() {
            return isNotNull(addressDetail);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailEqualTo(String value) {
            return equalTo(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailNotEqualTo(String value) {
            return notEqualTo(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailGreaterThan(String value) {
            return greaterThan(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailLessThan(String value) {
            return lessThan(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailLike(String value) {
            return like(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailNotLike(String value) {
            return notLike(addressDetail, value);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailIn(List<String> values) {
            return in(addressDetail, values);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailNotIn(List<String> values) {
            return notIn(addressDetail, values);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailBetween(String value1, String value2) {
            return between(addressDetail, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andAddressDetailNotBetween(String value1, String value2) {
            return notBetween(addressDetail, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andProvNameIsNull() {
            return isNull(provName);
        }

        public MallOrderLogisticsExample.Criteria andProvNameIsNotNull() {
            return isNotNull(provName);
        }

        public MallOrderLogisticsExample.Criteria andProvNameEqualTo(String value) {
            return equalTo(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameNotEqualTo(String value) {
            return notEqualTo(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameGreaterThan(String value) {
            return greaterThan(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameLessThan(String value) {
            return lessThan(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameLike(String value) {
            return like(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameNotLike(String value) {
            return notLike(provName, value);
        }

        public MallOrderLogisticsExample.Criteria andProvNameIn(List<String> values) {
            return in(provName, values);
        }

        public MallOrderLogisticsExample.Criteria andProvNameNotIn(List<String> values) {
            return notIn(provName, values);
        }

        public MallOrderLogisticsExample.Criteria andProvNameBetween(String value1, String value2) {
            return between(provName, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andProvNameNotBetween(String value1, String value2) {
            return notBetween(provName, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andReceiveNameIsNull() {
            return isNull(receiveName);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameIsNotNull() {
            return isNotNull(receiveName);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameEqualTo(String value) {
            return equalTo(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameNotEqualTo(String value) {
            return notEqualTo(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameGreaterThan(String value) {
            return greaterThan(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameLessThan(String value) {
            return lessThan(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameLike(String value) {
            return like(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameNotLike(String value) {
            return notLike(receiveName, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameIn(List<String> values) {
            return in(receiveName, values);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameNotIn(List<String> values) {
            return notIn(receiveName, values);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameBetween(String value1, String value2) {
            return between(receiveName, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andReceiveNameNotBetween(String value1, String value2) {
            return notBetween(receiveName, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andCityNameIsNull() {
            return isNull(cityName);
        }

        public MallOrderLogisticsExample.Criteria andCityNameIsNotNull() {
            return isNotNull(cityName);
        }

        public MallOrderLogisticsExample.Criteria andCityNameEqualTo(String value) {
            return equalTo(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameNotEqualTo(String value) {
            return notEqualTo(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameGreaterThan(String value) {
            return greaterThan(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameLessThan(String value) {
            return lessThan(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameLike(String value) {
            return like(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameNotLike(String value) {
            return notLike(cityName, value);
        }

        public MallOrderLogisticsExample.Criteria andCityNameIn(List<String> values) {
            return in(cityName, values);
        }

        public MallOrderLogisticsExample.Criteria andCityNameNotIn(List<String> values) {
            return notIn(cityName, values);
        }

        public MallOrderLogisticsExample.Criteria andCityNameBetween(String value1, String value2) {
            return between(cityName, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andCityNameNotBetween(String value1, String value2) {
            return notBetween(cityName, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andAreaNameIsNull() {
            return isNull(areaName);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameIsNotNull() {
            return isNotNull(areaName);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameEqualTo(String value) {
            return equalTo(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameNotEqualTo(String value) {
            return notEqualTo(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameGreaterThan(String value) {
            return greaterThan(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameLessThan(String value) {
            return lessThan(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameLike(String value) {
            return like(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameNotLike(String value) {
            return notLike(areaName, value);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameIn(List<String> values) {
            return in(areaName, values);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameNotIn(List<String> values) {
            return notIn(areaName, values);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameBetween(String value1, String value2) {
            return between(areaName, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andAreaNameNotBetween(String value1, String value2) {
            return notBetween(areaName, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andTradeCodeIsNull() {
            return isNull(tradeCode);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeIsNotNull() {
            return isNotNull(tradeCode);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeEqualTo(String value) {
            return equalTo(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeNotEqualTo(String value) {
            return notEqualTo(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeGreaterThan(String value) {
            return greaterThan(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeLessThan(String value) {
            return lessThan(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeLike(String value) {
            return like(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeNotLike(String value) {
            return notLike(tradeCode, value);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeIn(List<String> values) {
            return in(tradeCode, values);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeNotIn(List<String> values) {
            return notIn(tradeCode, values);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeBetween(String value1, String value2) {
            return between(tradeCode, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andTradeCodeNotBetween(String value1, String value2) {
            return notBetween(tradeCode, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andPostCodeIsNull() {
            return isNull(postCode);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeIsNotNull() {
            return isNotNull(postCode);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeEqualTo(String value) {
            return equalTo(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeNotEqualTo(String value) {
            return notEqualTo(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeGreaterThan(String value) {
            return greaterThan(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeLessThan(String value) {
            return lessThan(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeLike(String value) {
            return like(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeNotLike(String value) {
            return notLike(postCode, value);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeIn(List<String> values) {
            return in(postCode, values);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeNotIn(List<String> values) {
            return notIn(postCode, values);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeBetween(String value1, String value2) {
            return between(postCode, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andPostCodeNotBetween(String value1, String value2) {
            return notBetween(postCode, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andBuyerIdIsNull() {
            return isNull(buyerId);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdIsNotNull() {
            return isNotNull(buyerId);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdEqualTo(Long value) {
            return equalTo(buyerId, value);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdNotEqualTo(Long value) {
            return notEqualTo(buyerId, value);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdGreaterThan(Long value) {
            return greaterThan(buyerId, value);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(buyerId, value);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdLessThan(Long value) {
            return lessThan(buyerId, value);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(buyerId, value);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdIn(List<Long> values) {
            return in(buyerId, values);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdNotIn(List<Long> values) {
            return notIn(buyerId, values);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdBetween(Long value1, Long value2) {
            return between(buyerId, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andBuyerIdNotBetween(Long value1, Long value2) {
            return notBetween(buyerId, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andReceiveTelephoneIsNull() {
            return isNull(receiveTelephone);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneIsNotNull() {
            return isNotNull(receiveTelephone);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneEqualTo(String value) {
            return equalTo(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneNotEqualTo(String value) {
            return notEqualTo(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneGreaterThan(String value) {
            return greaterThan(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneLessThan(String value) {
            return lessThan(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneLike(String value) {
            return like(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneNotLike(String value) {
            return notLike(receiveTelephone, value);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneIn(List<String> values) {
            return in(receiveTelephone, values);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneNotIn(List<String> values) {
            return notIn(receiveTelephone, values);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneBetween(String value1, String value2) {
            return between(receiveTelephone, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andReceiveTelephoneNotBetween(String value1, String value2) {
            return notBetween(receiveTelephone, value1, value2);
        }
        public MallOrderLogisticsExample.Criteria andTidIsNull() {
            return isNull(tid);
        }

        public MallOrderLogisticsExample.Criteria andTidIsNotNull() {
            return isNotNull(tid);
        }

        public MallOrderLogisticsExample.Criteria andTidEqualTo(Long value) {
            return equalTo(tid, value);
        }

        public MallOrderLogisticsExample.Criteria andTidNotEqualTo(Long value) {
            return notEqualTo(tid, value);
        }

        public MallOrderLogisticsExample.Criteria andTidGreaterThan(Long value) {
            return greaterThan(tid, value);
        }

        public MallOrderLogisticsExample.Criteria andTidGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(tid, value);
        }

        public MallOrderLogisticsExample.Criteria andTidLessThan(Long value) {
            return lessThan(tid, value);
        }

        public MallOrderLogisticsExample.Criteria andTidLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(tid, value);
        }

        public MallOrderLogisticsExample.Criteria andTidIn(List<Long> values) {
            return in(tid, values);
        }

        public MallOrderLogisticsExample.Criteria andTidNotIn(List<Long> values) {
            return notIn(tid, values);
        }

        public MallOrderLogisticsExample.Criteria andTidBetween(Long value1, Long value2) {
            return between(tid, value1, value2);
        }

        public MallOrderLogisticsExample.Criteria andTidNotBetween(Long value1, Long value2) {
            return notBetween(tid, value1, value2);
        }
    }
}